package com.zy.web.demo.duoxiancheng.demo34;

import com.zy.web.demo.duoxiancheng.demo6.MyThread;

/**
 * @author <a href="mailto:zhouyong@cqyyt.com">zy</a>
 * @version 1.0
 * @date 2020/10/12 11:21
 */
public class Test34 {

    public static void main(String[] args) throws InterruptedException {
        Service34 service34 = new Service34();
        MyThreadA34 A = new MyThreadA34(service34);
        A.start();
        Thread.sleep(2000);
        MyThreadB34 B = new MyThreadB34(service34);
        B.start();
    }

}
